﻿<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <div th:replace="common/common :: copy"></div>
    <title>教务管理系统</title>
</head>
<body>
<header class="navbar-wrapper">
    <div class="navbar navbar-fixed-top">
        <div class="container-fluid cl"><a class="logo navbar-logo f-l mr-10 hidden-xs" th:href="@{/}">教务管理系统</a>
            <a class="logo navbar-logo-m f-l mr-10 visible-xs" th:href="@{/}">SHF</a>
            <span class="logo navbar-slogan f-l mr-10 hidden-xs">v1.1</span>
            <a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
            <nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
                <ul class="cl">
                    <li th:if="${session.USER.type==0}">学生</li>
                    <li th:if="${session.USER.type==1}">老师</li>
                    <li th:if="${session.USER.type==2}">管理员</li>
                    <li class="dropDown dropDown_hover">
                        <a th:if="${session.USER.type==0}" href="#" class="dropDown_A"
                           th:text="${session.USER.username+session.USER.contrastStudentName+session.USER.contrastStudentID}">admin
                            <i class="Hui-iconfont">&#xe6d5;</i></a>
                        <a th:if="${session.USER.type==1}" href="#" class="dropDown_A"
                           th:text="${session.USER.username+session.USER.contrastTeacherName}">admin <i
                                class="Hui-iconfont">&#xe6d5;</i></a>
                        <a th:if="${session.USER.type==2}" href="#" class="dropDown_A"
                           th:text="${session.USER.username}">admin <i class="Hui-iconfont">&#xe6d5;</i></a>
                        <ul class="dropDown-menu menu radius box-shadow">
                            <li><a th:href="@{/logout}" onclick="window.location.reload();">退出</a></li>
                        </ul>
                    </li>
                    <li id="Hui-msg"><a href="#" title="消息"><span class="badge badge-danger">1</span><i
                            class="Hui-iconfont" style="font-size:18px">&#xe68a;</i></a></li>
                    <li id="Hui-skin" class="dropDown right dropDown_hover"><a href="javascript:;" class="dropDown_A"
                                                                               title="换肤"><i class="Hui-iconfont"
                                                                                               style="font-size:18px">&#xe62a;</i></a>
                        <ul class="dropDown-menu menu radius box-shadow">
                            <li><a href="javascript:;" data-val="default" title="默认（黑色）">默认（黑色）</a></li>
                            <li><a href="javascript:;" data-val="blue" title="蓝色">蓝色</a></li>
                            <li><a href="javascript:;" data-val="green" title="绿色">绿色</a></li>
                            <li><a href="javascript:;" data-val="red" title="红色">红色</a></li>
                            <li><a href="javascript:;" data-val="yellow" title="黄色">黄色</a></li>
                            <li><a href="javascript:;" data-val="orange" title="橙色">橙色</a></li>
                        </ul>
                    </li>
                </ul>
            </nav>
        </div>
    </div>
</header>
<aside class="Hui-aside">
    <div th:if="${session.USER.type==2}" class="menu_dropdown bk_2">
        <dl id="menu-article">
            <dt><i class="Hui-iconfont">&#xe616;</i> 教室管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
            </dt>
            <dd>
                <ul>
                    <li><a th:data-href="@{/classRoom/classRoomListPage}" data-title="教室列表"
                           href="javascript:void(0)">教室列表</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-picture">
            <dt><i class="Hui-iconfont">&#xe613;</i> 班级管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
            </dt>
            <dd>
                <ul>
                    <li><a th:data-href="@{/class/classListPage}" data-title="班级列表"
                           href="javascript:void(0)">班级列表</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-product">
            <dt><i class="Hui-iconfont">&#xe620;</i> 院系管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
            </dt>
            <dd>
                <ul>
                    <li><a th:data-href="@{/faculty/facultyListPage}" data-title="院系列表" href="javascript:void(0)">院系列表</a>
                    </li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-comments">
            <dt><i class="Hui-iconfont">&#xe622;</i> 地点管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
            </dt>
            <dd>
                <ul>
                    <li><a th:data-href="@{/location/locationListPage}" data-title="地点列表"
                           href="javascript:;">地点列表</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-teacher">
            <dt><i class="Hui-iconfont">&#xe60d;</i> 教工管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
            </dt>
            <dd>
                <ul>
                    <li><a th:data-href="@{/teacher/teacherListPage}" data-title="教工列表"
                           href="javascript:;">教工列表</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-student">
            <dt><i class="Hui-iconfont">&#xe60d;</i> 学生管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
            </dt>
            <dd>
                <ul>
                    <li><a th:data-href="@{/student/studentListPage}" data-title="学生列表"
                           href="javascript:;">学生列表</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-admin">
            <dt><i class="Hui-iconfont">&#xe62d;</i> 用户管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
            </dt>
            <dd>
                <ul>
                    <li><a th:data-href="@{/user/userListPage}" data-title="用户列表"
                           href="javascript:void(0)">用户列表</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-tongji">
            <dt><i class="Hui-iconfont">&#xe61a;</i> 课程管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
            </dt>
            <dd>
                <ul>
                    <li><a th:data-href="@{/course/courseListPage}" data-title="课程列表"
                           href="javascript:void(0)">课程列表</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-system">
            <dt><i class="Hui-iconfont">&#xe62e;</i> 课程表管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
            </dt>
            <dd>
                <ul>
                    <li><a th:data-href="@{/curriculum/curriculumListPage}" data-title="课程表列表"
                           href="javascript:void(0)">课程表列表</a></li>
                    <li><a th:data-href="@{/curriculum/myCurriculumPage}" data-title="我的课程表"
                           href="javascript:void(0)">我的课程表</a></li>
                </ul>
            </dd>
        </dl>
    </div>
    <div th:if="${session.USER.type!=2}" class="menu_dropdown bk_2">
        <dl id="menu-article2">
            <dt><i class="Hui-iconfont">&#xe616;</i> 课程表管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
            </dt>
            <dd>
                <ul>
                    <li><a th:data-href="@{/curriculum/myCurriculumPage}" data-title="我的课程表"
                           href="javascript:void(0)">我的课程表</a></li>
                </ul>
            </dd>
        </dl>
        <dl th:if="${session.USER.type==1}" id="menu-teacher2">
            <dt><i class="Hui-iconfont">&#xe60d;</i> 教工管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
            </dt>
            <dd>
                <ul>
                    <li><a th:data-href="@{/teacher/teacherPage?teacherID=}+${session.USER.contrastTeacherID}"
                           data-title="教工列表" href="javascript:;">教工列表</a></li>
                </ul>
            </dd>
        </dl>
        <dl th:if="${session.USER.type==0}" id="menu-student2">
            <dt><i class="Hui-iconfont">&#xe60d;</i> 学生管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
            </dt>
            <dd>
                <ul>
                    <li><a th:data-href="@{/student/studentPage?studentID=}+${session.USER.contrastStudentID}"
                           data-title="学生列表" href="javascript:;">学生列表</a></li>
                </ul>
            </dd>
        </dl>
        <dl id="menu-system2">
            <dt><i class="Hui-iconfont">&#xe62e;</i> 用户信息管理<i
                    class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
            <dd>
                <ul>
                    <li><a th:data-href="@{/user/userPage?username=}+${session.USER.username}" data-title="用户信息"
                           href="javascript:void(0)">用户信息</a></li>
                </ul>
            </dd>
        </dl>
    </div>
</aside>
<div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a>
</div>
<section class="Hui-article-box">
    <div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
        <div class="Hui-tabNav-wp">
            <ul id="min_title_list" class="acrossTab cl">
                <li class="active">
                    <span title="我的桌面" data-href="welcome.html">我的桌面</span>
                    <em></em></li>
            </ul>
        </div>
        <div class="Hui-tabNav-more btn-group">
            <a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a>
            <a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a>
        </div>
    </div>
    <div id="iframe_box" class="Hui-article">
        <div class="show_iframe">
            <div style="display:none" class="loading"></div>
            <iframe id="iframe-welcome" data-scrolltop="0" scrolling="yes" frameborder="0"
                    th:src="@{/welcome}"></iframe>
        </div>
    </div>
</section>

<div class="contextMenu" id="Huiadminmenu">
    <ul>
        <li id="closethis">关闭当前</li>
        <li id="closeall">关闭全部</li>
    </ul>
</div>
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" th:src="@{lib/jquery.contextmenu/jquery.contextmenu.r2.js}"></script>
</body>
</html>
